﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

namespace AnaGiftedProject.classes
{
   internal sealed class ConnectionManager
    {
       public static SqlConnection GetConnection()
       {
           string ConnectionString = ConnectionManager.connectionStrings["ApplicationServices"].ConnectionString;
           SqlConnection conn = new SqlConnection(ConnectionString);
           conn.Open();
           return conn;
       }
    }
}